package org.gdufe.pojos.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class InsertLogDto implements Serializable {
    @JSONField(name = "uId")
    //借阅人id
    private Integer uId;
    //借阅人名称，冗余字段
    private String username;
    //借阅书籍的id
    @JSONField(name = "bId")
    @JsonProperty("bId")
    private Integer bId;
    //借阅书籍名称，冗余字段
    private String title;
}
